<h2 class="contentTitle">添加用户</h2>
<form action="<?php echo site_url('/public/aj_add_user.php');?>" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
<div class="pageContent">
	<div class="pageFormContent" layoutH="97">
        <div class="unit">
            <label>用户名：</label>
            <input type="text" name="user_name" size="25" class="required textInput valid">
            <span class="inputInfo">请填写员工真实姓名</span>
		</div>
        <div class="unit">
            <label>密码：</label>
            <input type="password" name="password" size="25" class="required textInput valid">
            <span class="inputInfo">登录密码</span>
		</div>
        <div class="unit">
            <label>确认密码：</label>
            <input type="password" name="repassword" size="25" class="required textInput valid">
            <span class="inputInfo">确认登录密码</span>
		</div>
        <div class="unit">
            <label>权限组：</label>
		    <input name="role_ids" type="hidden"/>
            <textarea rows="2" cols="30" class="textInput" name="role_names"  readonly=""></textarea>
			<a class="btnLook" target="dialog" href="<?php echo site_url('index.php?m=role&a=lookup&rel=add_user');?>" rel="role_lookup">选择所属权限组</a>
            <span class="inputInfo">点击选择权限组</span>
		</div>
        <div class="unit">
            <label>真实姓名：</label>
            <input type="text" name="real_name" size="25" class="textInput">
            <span class="inputInfo">可不填</span>
		</div>
        <div class="unit">
            <label>邮箱：</label>
            <input type="text" name="email" size="25" class="email textInput valid">
            <span class="inputInfo">联系使用</span>
		</div>
        <div class="unit">
            <label>联系电话：</label>
            <input type="text" name="tel" size="25" class="phone textInput valid">
            <span class="inputInfo">联系使用</span>
		</div>
	</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">确认</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
		</ul>
	</div>
</div>
</form>
